#include <iostream>
// #include "include/prototype.h"
#include "bean/resum.h"

int main() {

    ResumPtr resum_a = std::make_shared<Resum>();
    resum_a->setPersonalInfo("xiaoning", 22);
    resum_a->setWorkExperience("2018-2020", "company_a");

    // ResumPtr resum_b = std::make_shared<Resum>(*resum_a->clone());
    auto resum_b = resum_a->clone();
    resum_b->setPersonalInfo("daniao", 28);
    resum_b->setWorkExperience("2020-2022", "company_b");

    resum_a->displayInfo();
    resum_b->displayInfo();

    // delete resum_b;

    std::cout << "Hello world" << std::endl;
    return 0;
}